home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WinDesk 95 - An MPC Encyclopedia
/
WinDesk 95 - An MPC Encyclopedia.iso
/
power
/
connet
/
connet.~pa
< prev
next >
Wrap
Text File
|
1995-12-05
|
738b
|
42 lines
unit Connet;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, Buttons;
type
TForm2 = class(TForm)
ListBox1: TListBox;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
procedure BitBtn1Click(Sender: TObject);
procedure BitBtn2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form2: TForm2;
implementation
{$R *.DFM}
procedure TForm2.BitBtn1Click(Sender: TObject);
begin
chdir('d:\CONNET\');
StrpCopy(Cmd,'d:\CONNET\SETUP');
WinExec(Cmd,Sw_Showmaximized);
end;
procedure TForm2.BitBtn2Click(Sender: TObject);
begin
CLOSE;
end;
end.